package com.hevs.samplewebapp.client.bean;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Object to retrieve informations from the JSON for Doctor.
 * @author Lionel Rey
 * @date 26.03.2012
 */
public class DoctorJson extends JavaScriptObject{
	
	/**
	 * Constructor of the doctor
	 */
	protected DoctorJson(){}
	
	/**
	 * get the First name of the doctor
	 * @return
	 * 	the first name of the doctor in string format
	 */
	public final native String getFirstName() /*-{ return this.firstName; }-*/;
	
	/**
	 * get the lastname  of the doctor
	 * @return
	 * 	the lastname of the doctor in string format
	 */
	public final native String getLastName() /*-{ return this.lastName; }-*/;
	
	/**
	 * get the email of the doctor
	 * @return
	 * 	the email of the doctor in string format
	 */
	public final native String getEmail()/*-{ return this.email; }-*/;
}
